class Compania < ActiveRecord::Base
  has_many :orden_servicios, :dependent => :destroy
  
  validates_presence_of     :rif
  validates_length_of       :rif,    :maximum => 50
  validates_presence_of     :nombre
  validates_length_of       :nombre,    :maximum => 50
  validates_presence_of     :telefono
  validates_presence_of     :direccion
  validates_length_of       :nombre,    :maximum => 200
end
